package com.by.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 优惠券
 */
@Data
@ApiModel("优惠券")
@TableName(value = "s_coupon")
public class Coupon {
    @TableId(value="id",type = IdType.AUTO)
    Integer id;
    @ApiModelProperty("优惠券名称")
    String couponName;
    @ApiModelProperty("优惠券 类型")
    Integer couponType;
    @ApiModelProperty("面额")
    String denomination;
    @ApiModelProperty("活动类型")
    Integer activityType;
    @ApiModelProperty("发放数量")
    Integer quantity;
    @ApiModelProperty("消费门槛")
    String consumption;
    @ApiModelProperty("领取限制")
    Integer restriction;
    @ApiModelProperty("开始时间")
    String beginTime;
    @ApiModelProperty("结束时间")
    String endTime;
    @ApiModelProperty("适用范围")
    Integer scope;
    @ApiModelProperty("描述范围")
    String scopeDescription;
    @ApiModelProperty("使用状态")
    Integer useStatus;
    @ApiModelProperty("优惠券状态")
    Integer couponStatus;
    @ApiModelProperty("是否删除")
    Integer isdel;


}
